package com.chonor.mall.service;

import com.chonor.mall.dto.MemberSearchDTO;
import com.chonor.mall.vo.MemberDetailVO;
import com.chonor.mall.vo.MemberListVO;
import com.chonor.mall.vo.MemberVO;

import java.util.List;

public interface MemberService {

    /**
     * 会员列表
     * @return
     */
    List<MemberVO> getMemberList(String keyword, Integer pageSize, Integer pageNum);

    /**
     * 会员详情
     * @param id
     * @return
     */
    MemberVO getItem(Long id);

    /**
     * 启用/停用
     * @param id
     * @param status
     * @return
     */
    int updateStatus(Long id, Integer status);

}
